<#include "header.ftl" />
<#setting classic_compatible=true>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Role List</title>
    <link rel="stylesheet" href="${SERVER_SIDE_CONTEXT}/statics/css/data_mart.css"/>
    <link rel="stylesheet" href="${SERVER_SIDE_CONTEXT}/statics/font-awesome/css/font-awesome.min.css"/>
    <script src="${SERVER_SIDE_CONTEXT}/statics/js/jquery-1.11.1.js"></script>
    <style type="text/css">
        <!--
        .STYLE1 {
            font-family: Arial, Helvetica, sans-serif;
            font-weight: bold;
            font-size: 36px;
            color: #FF0000;
        }

        .STYLE13 {
            font-size: 24
        }

        .STYLE15 {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 24px;
        }

        -->
    </style>
</head>

<body>
<div align="center"><span class="STYLE1">角色列表</span></div>
<div style="text-align: center;">
    <div style="margin: 50px auto; width: 500px">
        <table width="500" height="200" border="1" cellpadding="0" cellspacing="0">
            <tr>
                <th width="160" height="65" align="center" valign="middle"><span class="STYLE15">角色名</span></th>
                <th width="160" height="65" align="center" valign="middle"><span class="STYLE15">角色描述</span>
                <th width="300" height="65" align="center" valign="middle"><span class="STYLE15">权限</span></th>
            </tr>
            <#list roles as role>
                <tr>
                    <td width="160" height="65" align="center" valign="middle"><span
                                class="STYLE15">${role.name}</span></td>
                    <td width="320" height="65" align="center" valign="middle"><span
                                class="STYLE15">${role.description}</span></td>
                    <td width="300" height="65" align="center" valign="middle"><span
                                class="STYLE15"><a
                                    href="${SERVER_SIDE_CONTEXT}/rolePermissionMgmt/modifyPre/${role.name}">修改</a> </span></td>
                </tr>
            </#list>
        </table>
    </div>
</div>
</body>
</html>